package com.zte.claa.inficombo.csa.app.service.modbus.entity;

import java.io.Serializable;

public class ModbusRequestConfig implements Serializable {
    /**
     * 
     */
    private String requestid;

   
    private String masterconfigid;
    
    /**
     * 站号
     */
    private Integer slaveid;
    
    /**
     * 功能码
     */
    private Integer func;

    /**
     * 起始地址偏移量
     */
    private Integer offset;

    /**
     * 读取寄存器数,一个保持寄存器是两个字节
     */
    private Integer registernum;

    /**
     * 协议类型,0:ASCII,1:RTU,默认0
     */
    private Byte protocoltype;
    
    /**
     * 一个测点值需要的字节数量,模拟量默认是两个寄存器,共四个字节
     */
    private Integer pointbytenum;

    /**
     * 字节序,0:cdab,1:abcd,多个寄存器表示一个指标时,该参数有效
     */
    private Byte byteorder;
    
    /**
     * 是否生效
     */
    private Byte status;
    /**
     * 
     */
    private String projectid;

    /**
     * 
     */
    private String remark;

    /**
     * t_combo_modbus_requestconfig_table
     */
    private static final long serialVersionUID = 1L;

 
    /**
     * 功能码
     * @return func 功能码
     */
    public Integer getFunc() {
        return func;
    }

    /**
     * 功能码
     * @param func 功能码
     */
    public void setFunc(Integer func) {
        this.func = func;
    } 

    /**
     * 协议类型,0:ascii,1:rtu,默认0
     * @return protocoltype 协议类型,0:ascii,1:rtu,默认0
     */
    public Byte getProtocoltype() {
        return protocoltype;
    }

    /**
     * 协议类型,0:ascii,1:rtu,默认0
     * @param protocoltype 协议类型,0:ascii,1:rtu,默认0
     */
    public void setProtocoltype(Byte protocoltype) {
        this.protocoltype = protocoltype;
    }


    /**
     * 
     * @return projectid 
     */
    public String getProjectid() {
        return projectid;
    }

    /**
     * 
     * @param projectid 
     */
    public void setProjectid(String projectid) {
        this.projectid = projectid;
    }

    /**
     * 
     * @return remark 
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 
     * @param remark 
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

	public Byte getStatus() {
		return status;
	}

	public void setStatus(Byte status) {
		this.status = status;
	}

	public Byte getByteorder() {
		return byteorder;
	}

	public void setByteorder(Byte byteorder) {
		this.byteorder = byteorder;
	}

	public Integer getSlaveid() {
		return slaveid;
	}

	public void setSlaveid(Integer slaveid) {
		this.slaveid = slaveid;
	}

	public String getRequestid() {
		return requestid;
	}

	public void setRequestid(String requestid) {
		this.requestid = requestid;
	}

	public String getMasterconfigid() {
		return masterconfigid;
	}

	public void setMasterconfigid(String masterconfigid) {
		this.masterconfigid = masterconfigid;
	}

	public Integer getOffset() {
		return offset;
	}

	public void setOffset(Integer offset) {
		this.offset = offset;
	}

	public Integer getRegisternum() {
		return registernum;
	}

	public void setRegisternum(Integer registernum) {
		this.registernum = registernum;
	}

	public Integer getPointbytenum() {
		return pointbytenum;
	}

	public void setPointbytenum(Integer pointbytenum) {
		this.pointbytenum = pointbytenum;
	}

	
}